package com.hnl.dao;

import java.util.Collection;

import com.hnl.to.Role;

public interface RoleDAO {
	public Role saveRole(Role role);

	public Role loadRoleByRoleID(Integer roleID);
	
	public Role loadRoleByRoleName(Integer roleName);

	public Collection<Role> loadRolesByUserID(Integer userID);

	public void updateRole(Role role);

	public void deleteRole(Integer roleID);

}
